package com.tn.wservice.validator;

public class NumericComparisonValidation {
	/** */
	private IValueGenerator lhsValueGenerator;
	/** */
	private IValueGenerator rhsValueGenerator;
	/** */
	private Operator operator;
	/** */
	private String errorMsg;

	/** */
	public enum Operator {
		EQ, LT, GT, LTE, GTE
	}

	public void setOperator(Operator operator) {
		this.operator = operator;
	}

	public Operator getOperator() {
		return operator;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setLhsValueGenerator(IValueGenerator lhsValueGenerator) {
		this.lhsValueGenerator = lhsValueGenerator;
	}

	public IValueGenerator getLhsValueGenerator() {
		return lhsValueGenerator;
	}

	public void setRhsValueGenerator(IValueGenerator rhsValueGenerator) {
		this.rhsValueGenerator = rhsValueGenerator;
	}

	public IValueGenerator getRhsValueGenerator() {
		return rhsValueGenerator;
	}
}
